package com.TEight.Forum.dao;
import java.util.List;

import com.TEight.Forum.pojo.Article;

import com.TEight.Forum.pojo.Article;

import java.util.List;
public interface ArticleDao {
	public int getTotal(String categoryId);
	public List<Article> getListByPage(String categoryId, int page, int pageNum);
    public String articleQuery();
    public Article articleQuery(int articleId);
    public List<Article> getTitleList(String title);
    public List<Article> getHotTitleList(int num);
    public List<Article> getTitleAllList();
    public Article getArticleDetails(int articleId);
    public List<Article> getAllTitle(int userId);
    public void addClickNum(int articleId);
    public List<Article> getRandomTitle(int num,int limitNum);
    public void articleAdd(Article article);
    public List<Article> getListByPage(int page, int pageNum);
    public int getTotal();
    public void delete(String articleId) ;
}
